<!--
 @description 业务账号信息
 @fileName Item.vue
 @author zengqiongying
 @created 2023/04/28 14:36:41
-->
<template>
  <div>
    <Cell title="账号类型" :modelValue="modelValue.accountTypeName" readonly defaultValue="--" />
    <Cell title="账号简称" :modelValue="modelValue.accountAbbr" readonly defaultValue="--" />
    <Cell title="默认收货地址" readonly defaultValue="--" custom>
      {{ modelValue.customerAddress }}
    </Cell>
    <Cell title="营业状态" :modelValue="modelValue.businessStatusName" readonly defaultValue="--" />
    <Cell title="客户经理" readonly defaultValue="--" custom>
      {{ modelValue.personName }} / {{ modelValue.personTel }}
    </Cell>
    <Cell title="销售冻结状态" :modelValue="modelValue.soState ? '冻结' : '解冻'" readonly defaultValue="--" />
  </div>
</template>

<script lang="ts">
  import { defineComponent } from 'vue'
  import Cell from '@/components/Cell/index.vue'
  export default defineComponent({
    name: 'DealerCustomerAccountItemView',
    components: { Cell },
    props: {
      modelValue: {
        type: Object,
        default: () => {}
      }
    },
    setup() {
      return {}
    }
  })
</script>
<style lang="less" scoped></style>
